SUBROUTINE ULIST4
*Display a bulleted list using the string functions RWS_LIST_ITEM and RWS_ULIST

     * Include the RealWeb definitions
     INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
     * Start the HTML page
     * Display the text 'Buying a Puppy' in the browser's title bar
     CALL RW_START_HTML_PAGE("Buying a Puppy", "", "", "", "")
     CALL RW_PUT("When choosing your puppy, you should ask the breeder")
     CALL RW_NEWLINES(2)

     *Create the items for the list
     LIST=""
     BUF="to see copies of health clearances for both parents"
     CALL RWS_LIST_ITEM(BUF,"")
     LIST=LIST:BUF
     BUF="what guarantees are given about the puppy's health?"
     CALL RWS_LIST_ITEM(BUF,"")
     LIST=LIST:BUF
     BUF="is follow-up help and advice available?"
     CALL RWS_LIST_ITEM(BUF,"")
     LIST=LIST:BUF
     BUF="are all puppies fully registered?"
     CALL RWS_LIST_ITEM(BUF,"")
     LIST=LIST:BUF
     *Create and display the list
     CALL RWS_ULIST(LIST,"")
     CALL RW_PUT(LIST)

     * Complete the page
     CALL RW_END_PAGE
RETURN 

Go to top button